package nc.vo.fourcgxm.fourcgxm;

import nc.vo.pubapp.pattern.model.entity.bill.AbstractBill;
import nc.vo.pubapp.pattern.model.meta.entity.bill.BillMetaFactory;
import nc.vo.pubapp.pattern.model.meta.entity.bill.IBillMeta;
import nc.vo.fourcgxm.fourcgxm.FourcgxmVO;

/**
 * 
 * 单子表/单表头/单表体聚合VO
 *
 * @author 
 * @version NCPrj ??
 */
@nc.vo.annotation.AggVoInfo(parentVO = "nc.vo.fourcgxm.fourcgxm.FourcgxmVO")
public class  AggFourcgxmVO  extends AbstractBill {
	
	private static final long serialVersionUID = 1309613813878961316L;

    @Override
	public IBillMeta getMetaData() {
	    IBillMeta billMeta =BillMetaFactory.getInstance().getBillMeta(AggFourcgxmVOMeta.class);
	  	return billMeta;
	}
	    
	@Override
	public FourcgxmVO getParentVO(){
	  	return (FourcgxmVO)this.getParent();
	}

    @Override
    public String getPrimaryKey() {
        return super.getPrimaryKey();
    }
	//支撑根据分单规则进行合单时使用
	@Override
	public String[] getTableCodes() {
		//聚合关系属性name集合
		String[] compositeAttrNames = super.getTableCodes();
		return compositeAttrNames;
	}
}
